import { App } from 'vue';

import { setupPermissionDirective } from "@/framework/directives/permission";
import { setupLoadingDirective } from "@/framework/directives/loading";

/**
 * 注册全局自定义指令
 * @param app
 */
export function setupDirectives(app: App) {
  // 权限控制指令（演示）
  setupPermissionDirective(app)
  // 加载中指令
  setupLoadingDirective(app)
}
